home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: bbk@ix.netcom.com (Bill Kirby)
- Newsgroups: comp.lang.c++
- Subject: Re: Borland C++ and CGI
- Date: Sun, 14 Apr 1996 07:28:19 GMT
- Organization: Netcom
- Message-ID: <4kq9sc$bt9@reader2.ix.netcom.com>
- References: <4konfi$hl4@hearst.cac.psu.edu>
- NNTP-Posting-Host: sjx-ca28-09.ix.netcom.com
- X-NETCOM-Date: Sun Apr 14 12:35:40 AM PDT 1996
- X-Newsreader: Forte Free Agent 1.0.82
-
- waj106@email.psu.edu (Coren) wrote:
-
- >I know I'm just missing something fairly simple here but....
-
- >I have Borland 3.0 C++ compiler for windows. I have written a program that
- >takes input and creates a HTML page. The only problem is that I cannot get it
- >to dynamically create a new page. I know that you are supposed to output
- >something like "Content-type: text/plain\n\n" but this doesn't seem to do any
- >good. I have tried it with a normal cout but then I saw that someone used
- >it with a function called 'puts' instead of cout. As it is, if I leave all
- >outputs as couts, when I run it from a browser it says "empty output from CGI
- >program." Can anyone help me with this? Thanks.
-
- I had similar problems that were solved by adding an extra blank line
- to the output. That is, the very last line of the program should
- output a couple of carraige-return/line-feed pairs. Hope it works for
- you.
-
-
-
-
-
- *
- +---------------------+-----------------------------------------------------------------+
- | Bill Kirby | The Windward Group is seeking experienced Windows programmers |
- | The Windward Group | (C++, MFC, Visual Basic) to join our Los Gatos CA office. To |
- | bkirby@wwg.com | learn more about us, visit our web page at www.wwg.com. E-mail |
- | bbk@ix.netcom.com | resumes to bkirby@wwg.com. (Prinicipals only please) |
- +---------------------+-----------------------------------------------------------------+
-
-